import {View} from '@tarojs/components'

import './index.scss'
import {Tabs} from "@taroify/core";
import PlaceNotice from "@/pages/tabbar/place/components/PlaceNotice";
import RoomIndex from "@/pages/subPackages/place/room";
import PlaceAction from "@/pages/tabbar/place/components/PlaceAction";

export default function Index() {

  return (
    <View className="index-page">
      <View className="place-top">
        {/*暂定*/}
      </View>

      <View className="place-bottom">
        <Tabs animated sticky>
          <Tabs.TabPane title="堂食">
            {/*下单页顶部通知*/}
            <PlaceNotice/>
            {/*点餐分类*/}
            <RoomIndex/>
          </Tabs.TabPane>

          <Tabs.TabPane title="预定">
            预定
          </Tabs.TabPane>
        </Tabs>
      </View>

      <View className="bottom-action">
        {/*下单底部操作栏*/}
        <PlaceAction/>
      </View>
    </View>
  )
}
